package com.hifar.test.equipsensor.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "HfResEquipSensor对象", description = "资源-设备传感器-关系表")
public class EquipSensorSearchVo extends HfResEquipSensor {

    private static final long serialVersionUID = 1L;

    /**
     * 设备名称
     */
    @ApiModelProperty(value = "设备名称")
    private String equipName;

    /**
     * 设备型号
     */
    @ApiModelProperty(value = "设备型号")
    private String equipModel;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private String equipCode;


    /**
     * 设备名称
     */
    @ApiModelProperty(value = "传感器名称")
    private String sensorName;

    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号")
    private String sensorCode;

    @ApiModelProperty(value = "传感器型号")
    private String sensorModel;


    @ApiModelProperty(value = "生产厂家")
    private String factoryName;

    @ApiModelProperty("检定有效期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @JSONField(name = "checkPeriodDate")
    private String checkPeriodDate;
}
